<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
	<title>店铺信息</title>
	<meta name="decorator" content="default"/>
</head>
<body>
	<ul class="nav nav-tabs">
		<li class="active"><a href="#">店铺信息</a></li>
	</ul><br/>
	<form:form id="inputForm" modelAttribute="shop" action="${ctx}/sys/user/saveStoreInfo" method="post" class="form-horizontal" enctype="multipart/form-data"><%--
		<form:hidden path="email" htmlEscape="false" maxlength="255" class="input-xlarge"/>
		<sys:ckfinder input="email" type="files" uploadPath="/mytask" selectMultiple="false"/> --%>
		<sys:message content="${message}"/>
		<div class="control-group">
			<label class="control-label">区域:</label>
			<div class="controls">
				<label class="lbl">${user.provinces}${user.citys}${user.areas}</label>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">小区名称:</label>
			<div class="controls">
				<label class="lbl">${shop.category}</label>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">店铺名称:</label>
				<div class="controls">
					<label class="lbl">${shop.name}</label>
				</div>
		</div>
		<div class="control-group">
			<label class="control-label">店铺照片</label>
			<div class="controls">
				<ol id="nameImagePreview">
						<li><img src="${shop.shopImageUrl}"
								 url="${shop.shopImageUrl}"
								 style="max-width:100px;max-height:100px;_height:100px;border:0;padding:3px;">
							<input type="hidden" name="uploadUrl" value="${shop.shopImageUrl}">
						</li>
				</ol>
				<span class="help-inline"><font color="red">*</font> </span>
			</div>
		</div>

		<div class="control-group">
			<label class="control-label">店铺地址:</label>
			<div class="controls">
					<label class="lbl">${shop.adress}</label>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">
			营业执照
			</label>
			<div class="controls">
				<ol id="nameImagePreview1">
						<li><img src="${shop.businessLicenseImageUrl}"
								 url="${shop.businessLicenseImageUrl}"
								 style="max-width:100px;max-height:100px;_height:100px;border:0;padding:3px;">
						</li>
				</ol>
				<span class="help-inline"><font color="red">*</font> </span>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">联系方式:</label>
				<div class="controls">
					<label class="lbl">${shop.phone}</label>
				</div>
		</div>
		<div class="control-group">
			<label class="control-label">营业状态:</label>
					<c:if test="${shop.status==0}">
						<div class="controls">
							<label class="lbl">开业</label>
						</div>
					</c:if>
					<c:if test="${shop.status==1}">
						<div class="controls">
							<label class="lbl">停业</label>
						</div>
					</c:if>
		</div>
		<div class="control-group">
			<label class="control-label">店铺描述:</label>
			<div class="controls">
				<label class="lbl">${shop.bz}</label>
			</div>
		</div>
		<div class="form-actions">
			<input id="btnCancel" class="btn" type="button" value="返 回" onclick="history.go(-1)"/>
		</div>
	</form:form>
</body>
</html>